package com.thz.houserental.infrastructure.web.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class EmailLoginDto {
    @NotEmpty
    @Schema(description = "密码")
    private String password;
    
    @NotEmpty
    @Schema(description = "邮箱")
    private String email;
}
